gDEBugger User Guide

 

Options - Call Stack Tab

The Call Stack tab lets you specify the source code root location and additional source code directories. This enables the use of the Source Code viewer when the debugged application debug info holds partial source code paths and when the debugged application has been built on a different file system structure than your source code file structure.

Options Dialog - Call Stack Tab

Additional source code directories:

When specifying additional source code directories, If the source code file is not found at its debug information path, it will searched, by file name only, in the additional source code directories. The search is performed according to the order in which the directories are specified.

The additional source code directories are semicolon separated.

Source code root location:

When specifying a source code root location, the root location is prefixed to each source code file path. Only one source code root location can be specified.

Example:
If the source code root is "D:\Dir1\" and the debug information source code path is "\Dir2\Dir3\MyFile.cpp", the Source Code Viewer input path will be "D:\Dir1\Dir2\Dir3\MyFile.cpp".